1 from oxsConfig
import ttk
, W
, E
, Spinbox
,fRpm
, pulsesPerRotationVar
3 #define PULSES_PER_ROTATION 2
5 ttk
.Label(fRpm
, text
="Number of pulses per rotation").grid(row
=1, padx
= 5 , pady
=(20,2))
8 pulsesPerRotationBox
= Spinbox(fRpm
, from_
=1, to
=1000, width
= 5 , textvariable
=pulsesPerRotationVar
)
9 pulsesPerRotationBox
.grid(column
=1, row
=1 , padx
=5, pady
=(20,2))